package com.example.utils.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 大华配置文件
 * @author lit
 */
@Component
@ConfigurationProperties(prefix = "dh")
public class DHConfig
{

    /**
     * 请求地址  ip:port
     */
    private static String url;
    /**
     * 用户名
     */
    private static String user;
    /**
     * 密码
     */
    private static String pass;


    public static String getUrl(){
        return url;
    }

    public void setUrl(String url){
        DHConfig.url = url;
    }

	public static String getUser() {
		return user;
	}

	public void setUser(String user) {
		DHConfig.user = user;
	}

	public static String getPass() {
		return pass;
	}

	public void setPass(String pass) {
		DHConfig.pass = pass;
	}
    
}
